package com.company.project.vo.req;

import javax.validation.constraints.NotBlank;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
public class RegisterData {
	
	@ApiModelProperty(value = "单位")
	private String organization;
	
	@ApiModelProperty(value = "职务")
	private String post;
	
	@NotBlank(message = "证件类型不能为空")
	@ApiModelProperty(value = "证件类型")
	private String idType;
	
	@NotBlank(message = "证件号码不能为空")
	@ApiModelProperty(value = "证件号码")
	private String idNumber;
	
	@NotBlank(message = "姓名不能为空")
	@ApiModelProperty(value = "姓名")
	private String name;
	
	@NotBlank(message = "电话不能为空")
	@ApiModelProperty(value = "电话")
	private String phone;
	
	@ApiModelProperty(value = "email")
	private String email;
	
	@NotBlank(message = "密码不能为空")
	@ApiModelProperty(value = "密码")
	private String password;

}
